Skip to content

fix: resolve race condition in location listener causing NullPointerException#569

Merged
jokerttu merged 1 commit intomainfrom
fix/location-listener-race-condition
Apr 21, 2026
Merged

fix: resolve race condition in location listener causing NullPointerException#569
jokerttu merged 1 commit intomainfrom
fix/location-listener-race-condition

Conversation

@jokerttu
Copy link
Copy Markdown
Contributor

@jokerttu jokerttu commented Apr 10, 2026

Fixes crash caused by NullPointerException in RoadSnappedLocationProvider.LocationListener.onRawLocationUpdate when calling stopUpdatingLocation.

Fixes #560

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation
  • I added new tests to check the change I am making
  • All existing and new tests are passing.

@jokerttu jokerttu requested a review from illuminati1911 April 10, 2026 14:29
@jokerttu jokerttu force-pushed the fix/location-listener-race-condition branch 2 times, most recently from b9db1ff to 89ffe56 Compare April 16, 2026 21:07
@jokerttu jokerttu marked this pull request as ready for review April 16, 2026 21:07
Copy link
Copy Markdown
Contributor

@illuminati1911 illuminati1911 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jokerttu jokerttu force-pushed the fix/location-listener-race-condition branch from 89ffe56 to 5f3aa94 Compare April 21, 2026 08:19
@jokerttu jokerttu merged commit 11f79ae into main Apr 21, 2026
13 checks passed
@jokerttu jokerttu deleted the fix/location-listener-race-condition branch April 21, 2026 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Android crash: NullPointerException in RoadSnappedLocationProvider.LocationListener.onRawLocationUpdate

3 participants